package sample.mybatisplus.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import sample.mybatisplus.service.HouseService;
import sample.mybatisplus.entity.House;
import sample.mybatisplus.mapper.HouseMapper;

@Service
public class HouseServiceImpl extends ServiceImpl<HouseMapper, House> implements HouseService {

    @Override
    public House getHouseById(Long id) {
        return this.getById(id);
    }
}
